package com.comm.vo;

/*
响应数据和分页实体类
 */
public class JsonResult<T>{
    private Integer code;//返回状态码
    private String msg;//返回信息
    private T data;//返回数据
    private Integer count;//返回的总记录数

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
